<%-- 
    Document   : profile
    Created on : 05 27, 11, 11:07:05 AM
    Author     : Lee
--%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<s:div cssStyle="height: 500px">
    <h6 style="padding: 3px; margin: 0;"><label>Loan Verification No. </label><label class="info" style="font-weight: bold; font-style: italic; color: #459e00"><s:property value="%{#gp.loanver.documentno}"/></label> <label>Borrower: </label><label class="info" style="font-weight: bold; font-style: italic; color: #459e00"><s:property value="%{#gp.borrowerinfo.completename}"/></label></h5>
        <c:if test="${param.cat == null}">
            <sj:tabbedpanel id="mytabs" animate="true" collapsible="true" useSelectedTabCookie="true" selectedTab="1" cssStyle="height: 515px">
                <sj:tab id="tab1" cssClass="tabs" target="loaninfo" label="Loan Application" accesskey=""/>
                <sj:tab id="tab2" cssClass="tabs" target="loanborrowerinfo" label="Application Form" accesskey=""/>
                <sj:tab id="tab3" cssClass="tabs" target="ci" label="Credit Investigation"/>
                <sj:tab id="tab4" cssClass="tabs" target="appraisal" label="Appraisal"/>
                <jsp:include page="tabbedpanelcontent.jsp" />
            </sj:tabbedpanel>
        </c:if>
        <c:if test="${param.cat == 'loanappli'}">
            <sj:tabbedpanel id="mytabs" animate="true" collapsible="true" useSelectedTabCookie="true" selectedTab="1" cssStyle="height: 515px">
                <sj:tab id="tab1" cssClass="tabs" target="loaninfo" label="Loan Application" accesskey=""/>
                <sj:tab id="tab2" cssClass="tabs" target="loanborrowerinfo" label="Application Form" accesskey=""/>
                <sj:tab id="tab3" cssClass="tabs" target="ci" label="Credit Investigation"/>
                <sj:tab id="tab4" cssClass="tabs" target="appraisal" label="Appraisal"/>
                <jsp:include page="tabbedpanelcontent.jsp" />
            </sj:tabbedpanel>
        </c:if>
        <c:if test="${param.cat == 'appli'}">
            <sj:tabbedpanel id="mytabs" animate="true" collapsible="true" useSelectedTabCookie="true" selectedTab="2" cssStyle="height: 515px">
                <sj:tab id="tab1" cssClass="tabs" target="loaninfo" label="Loan Application" accesskey=""/>
                <sj:tab id="tab2" cssClass="tabs" target="loanborrowerinfo" label="Application Form" accesskey=""/>
                <sj:tab id="tab3" cssClass="tabs" target="ci" label="Credit Investigation"/>
                <sj:tab id="tab4" cssClass="tabs" target="appraisal" label="Appraisal"/>
                <jsp:include page="tabbedpanelcontent.jsp" />
            </sj:tabbedpanel>
        </c:if>
        <c:if test="${param.cat == 'credit'}">
            <sj:tabbedpanel id="mytabs" animate="true" collapsible="true" useSelectedTabCookie="true" selectedTab="3" cssStyle="height: 515px">
                <sj:tab id="tab1" cssClass="tabs" target="loaninfo" label="Loan Application" accesskey=""/>
                <sj:tab id="tab2" cssClass="tabs" target="loanborrowerinfo" label="Application Form" accesskey=""/>
                <sj:tab id="tab3" cssClass="tabs" target="ci" label="Credit Investigation"/>
                <sj:tab id="tab4" cssClass="tabs" target="appraisal" label="Appraisal"/>
                <jsp:include page="tabbedpanelcontent.jsp" />
            </sj:tabbedpanel>
        </c:if>
        <c:if test="${param.cat == 'appraise'}">
            <sj:tabbedpanel id="mytabs" animate="true" collapsible="true" useSelectedTabCookie="true" selectedTab="4" cssStyle="height: 515px">
                <sj:tab id="tab1" cssClass="tabs" target="loaninfo" label="Loan Application" accesskey=""/>
                <sj:tab id="tab2" cssClass="tabs" target="loanborrowerinfo" label="Application Form" accesskey=""/>
                <sj:tab id="tab3" cssClass="tabs" target="ci" label="Credit Investigation"/>
                <sj:tab id="tab4" cssClass="tabs" target="appraisal" label="Appraisal"/>
                <jsp:include page="tabbedpanelcontent.jsp" />
            </sj:tabbedpanel>
        </c:if>
    </s:div>

